package com.zzs.path.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.List;

/**
 * 路径实体类
 *
 * 包含 路径集合 与 路径长度
 */
@Setter
@Getter
@ToString
public class Route{

    public int id;
    public int startId;
    public int endId;
    public int distance;
    public List<Integer> routeList;

    public Route(){}

    public Route(int distance, List<Integer> routeList) {
        this.distance = distance;
        this.routeList = routeList;
    }
}
